﻿#pragma once
#include "labelDeviceDriver.hpp"



class LabelMemoryPool :public LabelDeviceDriver
{
public:
    LabelMemoryPool(LabelDeviceBase* pParent);
    virtual ~LabelMemoryPool(void);
    
    /**
     *      声明为内存池设备
     */
    void RegistMemoryPool(LdMallocFun fMalloc,LdFreeFun fFree,LPVOID lpcontext);

    /**
     *      撤销声明为内存池
     */
    void RevokeMemoryPool(LdMallocFun fMalloc,LdFreeFun fFree,LPVOID lpcontext);
};

